home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / pwrclib.exe / CJSLIB.H < prev    next >
C/C++ Source or Header  |  1993-02-25  |  2KB  |  53 lines

  1. /* CJSLIB */
  2.  
  3. /* Typedefs */
  4. typedef struct {
  5.     char spec_func;        /* special functions */
  6.     char    dev_type;            /* device type */
  7.     int    dev_attr;            /* device attributes */
  8.     int    cyl;                /* number of cylinders */
  9.     char    med_type;            /* media type */
  10.     int    bytes_psec;        /* bytes per sector */
  11.     char    secs_pclus;        /* sectors per cluster */
  12.     int    res_secs;            /* reserved sectors */
  13.     char    fats;            /* number of file allocation tables */
  14.     int    root_ent;            /* max root directory entries */
  15.     int    sectors;            /* total number of sectors */
  16.     char    media;            /* media descriptor */
  17.     int    fat_secs;            /* number of sectors per FAT */
  18.     int    secs_ptrk;        /* number of sectors per track */
  19.     int    heads;            /* number of heads */
  20.     int (far *hid_secs)();    /* number of hidden sectors */
  21.     int (far *huge_secs)();    /* number of sectors (>32k partition) */
  22.     
  23. } DEVPARAMS;
  24.  
  25. /* Function declarations */
  26. int sounder();
  27. int menubox(int r1,c1,r2,c2,color,boxtype,shadow,shade,max_rows);
  28. int text_box(int r1,c1,r2,c2,fill,color,max_rows);
  29. int color_time(char *format,int r1,c1,color,max_rows);
  30. int colortext(char text[], int r1, int c1, int color,max_rows);
  31. int colortext2(char text[], int r1, int c1, int color, int hilite, int hpos,max_rows);
  32. int repchar(char *s, char c, r);
  33. int pick_color();
  34. int ext_screen(int video_card);
  35. int normal_screen(video_card);
  36. int screen_lines();
  37. int play_cm1(char *song);
  38. int clear(int color);
  39. int Mstr_delenv (char far *Env, unsigned EnvSize, char far *name);
  40. int Mstr_putenv (char far *Env, unsigned EnvSize, char far *name);
  41. int get_dtype(int drive);
  42.  
  43. char *dirselect(char*, int);
  44.  
  45. char far *Mstr_getenv (char far *Env, char far *name);
  46.  
  47. void Mstr_FindEnvironment (char far **Env, unsigned *EnvSize);
  48. void remove_chars();
  49. void remove_digits();
  50. void epsonize(char *s, int c);
  51.  
  52.  
  53.